package com.grass;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * <p>类名称：EurekaServerApplication
 * <p>描述说明：注册中心启动类
 * <p>版本号：2.0.0.0
 *
 * @author Alpho@方大侠
 * @date 2019/3/26 16:45
 */
@EnableEurekaServer
@SpringBootApplication
public class EurekaServerApplication {
    public static void main(String[] args) {
        new SpringApplicationBuilder(EurekaServerApplication.class).web(true).run(args);
    }
}
